home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / CDTV / cdtvtools-11 / includes / cdtvprefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-24  |  2.5 KB  |  94 lines

  1. #ifndef CDTVPREFS_H
  2. #define CDTVPREFS_H
  3. /*
  4. ** CDTV Preferences Include File
  5. **
  6. **    Copyright (c) 1991 Commodore Electronics Ltd.
  7. **    All rights reserved. Confidential and Proprietary.
  8. **    CDTV is a trademark of Commodore Electronics Ltd.
  9. **
  10. **    Written by: Carl Sassenrath
  11. **                Sassenrath Research, Ukiah, CA
  12. **
  13. **    Version of: March 10, 1991
  14. **    Updated by: William Ware, Silent Software, Inc.
  15. **                Added new pref flags and Korean language.
  16. **      Updated by: John J. Szucs
  17. **                  Commodore International Services Co.
  18. **                  Modified to automatically include
  19. **                      exec/types.h
  20. */
  21.  
  22. #ifndef EXEC_TYPES_H
  23. #include "exec/types.h"
  24. #endif /* EXEC_TYPES_H */
  25.  
  26. /*
  27. ** CDTV Preferences Bookmark ID
  28. **
  29. **    Used to access CDTV preferences via "bookmark.device".
  30. */
  31. #define    BID_CDTVPREFS    0x00010001
  32.  
  33. /*
  34. ** CDTV Preferences Structure
  35. **
  36. **    This is the primary CDTV preferences structure.
  37. **    It is found in the bookmark identified above and
  38. **    is only accessed through the bookmark interface.
  39. **
  40. **    NOTE:
  41. **    Should other preferences be added to the system in the
  42. **    future, they will be created by adding new bookmark IDs
  43. **    (so they will not affect the size of this structure).
  44. */
  45. struct CDTVPrefs
  46. {
  47.     WORD     DisplayX;    /* Default display View offset    */
  48.     WORD    DisplayY;    /* Default display View offset    */
  49.     UWORD    Language;    /* Human interface language    */
  50.     UWORD    AudioVol;    /* Default audio volume        */
  51.     UWORD    Flags;        /* Preference flags        */
  52.     UBYTE    SaverTime;    /* In Minuites             */
  53.     UBYTE    Reserved;    /* Future function        */
  54. };
  55.  
  56. /*
  57. ** CDTV Preference Flags
  58. */
  59. #define    CDTVPB_AUDIOVOL    0    /* Audio volume control    enabled    */
  60. #define CDTVPB_AMPM    1    /* Clock AM/PM option        */
  61. #define CDTVPB_KEYCLICK    2    /* 'Click' when key is pressed  */
  62. #define CDTVPB_LACE    4    /* Screen is always in Interlace*/
  63.  
  64. #define    CDTVPF_AUDIOVOL    0x01
  65. #define CDTVPF_AMPM    0x02
  66. #define CDTVPF_KEYCLICK    0x04
  67. #define CDTVPF_LACE    0x08
  68.  
  69. /*
  70. ** CDTV Human Language Defines
  71. */
  72. #define    CDTVLANG_UNKNOWN    0
  73. #define    CDTVLANG_AMERICAN    1    /* American English    */
  74. #define    CDTVLANG_ENGLISH    2    /* British English    */
  75. #define    CDTVLANG_GERMAN        3
  76. #define    CDTVLANG_FRENCH        4
  77. #define    CDTVLANG_SPANISH    5
  78. #define    CDTVLANG_ITALIAN    6
  79. #define    CDTVLANG_PORTUGUESE    7
  80. #define    CDTVLANG_DANISH        8
  81. #define    CDTVLANG_DUTCH        9
  82. #define    CDTVLANG_NORWEGIAN    10
  83. #define    CDTVLANG_FINNISH    11
  84. #define    CDTVLANG_SWEDISH    12
  85. #define    CDTVLANG_JAPANESE    13
  86. #define    CDTVLANG_CHINESE    14
  87. #define    CDTVLANG_ARABIC        15
  88. #define    CDTVLANG_GREEK        16
  89. #define    CDTVLANG_HEBREW        17
  90. #define    CDTVLANG_KOREAN        18
  91.  
  92.  
  93. #endif    /* CDTVPREFS_H */
  94.